package com.sservice.model.dao;

import com.sservice.model.entity.Purchase;
import com.sservice.model.vo.PurchaseVo;

import java.util.List;

public interface PurchaseMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Purchase record);

    int insertSelective(Purchase record);

    Purchase selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Purchase record);

    int updateByPrimaryKey(Purchase record);

    int queryByCount(PurchaseVo record);

    List<PurchaseVo> queryByPage(PurchaseVo record);
}